package com.java.travel.dao;

import com.java.travel.entity.Place;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * description:
 * author:张腾
 * date:2021-03-10
 */
@Mapper
public interface PlaceDao extends BaseDao<Place,String> {

    List<Place> findByProvinceIdPage(@Param("start") Integer start,@Param("rows") Integer rows,@Param("provinceId") String provinceId);

    Integer findByProvinceIdCounts(String provinceId);
}
